﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<FrasesSimpsonsMvc.Models.Frases>>" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadContent" runat="server">
	<% Html.RenderPartial("BasicHeadUserControl", Model); %>
</asp:Content>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">Últimas frases</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">
	<div class="row-responsive well top-space home-title">
		<a href="<%= Url.Action("Index", "Home") %>"><img src="<%= VirtualPathUtility.ToAbsolute("~/Content/Images/matados.png") %>" alt="Los Matados - Frases de los Simpsons" /></a>
		<form class="form-inline top-space" method="get" action="<%= Url.Action("Search", "Home") %>">
			<div class="input-append">
				<input type="text" class="input search-query" style="left:0px;right:0px" name="q" placeholder="busca tus frases favoritas…"><button type="submit" class="btn"><i class="icon-search"></i> Buscar</button>
			</div>
			<button type="submit" class="btn"><i class="icon-search"></i> Buscar</button>
			<a href="<%= Url.Action("Add", "Frase") %>" class="btn"><i class="icon-plus"></i> Agregá una frase</a>
		</form>
	</div>

	<div class="row-responsive">
		<ul class="breadcrumb">
			<li>
				<a href="<%= Url.Action("Index", "Home") %>">Home</a> <span class="divider">/</span>
			</li>
			<li class="active">Últimas frases</li>
		</ul>
	</div>

	<div class="row-responsive top-space">
	<% Html.RenderPartial("ListaFrasesUserControl", Model); %>
	</div>
</asp:Content>